@ECHO OFF
pushd "%~dp0"
ECHO.
ECHO.
ECHO.
ECHO This script deletes all temporary build files in their
ECHO corresponding BIN and OBJ Folder contained in the following projects
ECHO.
ECHO MRULib
ECHO DemoApp_MRU
ECHO DemoApp_MRU_ModernUI
ECHO MRUModelLib
ECHO.
REM Ask the user if hes really sure to continue beyond this point XXXXXXXX
set /p choice=Are you sure to continue (Y/N)?
if not '%choice%'=='Y' Goto EndOfBatch
REM Script does not continue unless user types 'Y' in upper case letter
ECHO.
ECHO XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ECHO.
ECHO XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ECHO Deleting BIN and OBJ Folders in MRULib folder
ECHO.
RMDIR /S /Q MRULib\bin
RMDIR /S /Q MRULib\obj

ECHO Deleting BIN and OBJ Folders in DemoApp_MRU folder
ECHO.
RMDIR /S /Q DemoApp_MRU\bin
RMDIR /S /Q DemoApp_MRU\obj

ECHO Deleting BIN and OBJ Folders in DemoApp_MRU_ModernUI folder
ECHO.
RMDIR /S /Q DemoApp_MRU_ModernUI\bin
RMDIR /S /Q DemoApp_MRU_ModernUI\obj

ECHO Deleting BIN and OBJ Folders in MRUModelLib folder
ECHO.
RMDIR /S /Q MRUModelLib\bin
RMDIR /S /Q MRUModelLib\obj

PAUSE

:EndOfBatch
